package s;

import com.google.gson.Gson;

import java.util.HashMap;
import java.util.Map;

public class e
{
	public static void main(String[] args)
	{
		String a = "A";
		System.out.println((char) (a.charAt(0) + 32));

		String js = "{name:ytf,data:null}";
		Gson g = GsonUtil.getGson();
		GsonBean gd = g.fromJson(js, GsonBean.class);
		
		Map<String, String> param1 = new HashMap<String, String>();
		Map<String, String> param2 = new HashMap<String, String>();
		param1.put("a1", "String1");
		param1.put("a2", "String2");
		param1.put("a3", "String3");
		
		param2.put("a1", "String2qwe");
		param2.put("a3", "String3sfsdf");
		param1.putAll(param2);
		System.out.println(param1.get("a3"));
		System.out.println(gd.toString());
	}

	class GsonBean
	{
		public String name;
		public String data;

		@Override
		public String toString()
		{
			return "GsonBean [name=" + name + ", data=" + data + "]";
		}
	}
}
